package com.hnit;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


//-Dserver.port=8080 -Dspring.application.name=hello-service  允许多实例，多开2个就行
/**
 * Hello world!
 *
 */
@SpringBootApplication
public class HelloApp {
    public static void main(String[] args) {//命令行参数覆盖启动项
        SpringApplication.run(HelloApp.class, args);
    }
}

//java -jar HelloApp.jar --server.port=8080